#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#define SWAP(N) ((N&0xaaaaaaaa)>>1)|((N&0x55555555)<<1)

int main()
{
	int n = 5;
	printf("%d", SWAP(n));


	return 0;
}